// #ifdef VUE3
import {
	createSSRApp
} from "vue";
// 导入pinia
import pinia from "@/stores";
import App from "./App.vue";
import uviewPlus from 'uview-plus'


// import Vconsole from 'vconsole'
// let vConsole = new Vconsole()

export function createApp() {
	const app = createSSRApp(App);
	// 创建Pinia实例  // 将pinia实例挂载到vue实例上 
	 app.use(pinia)

	app.use(uviewPlus)
	// app.use(vConsole)
	return {
		app,
	};
}
// #endif